github.com/klauspost/compress/zstd.dict.offsets (field)
17 uses
github.com/klauspost/compress/zstd (current package)
decoder_options.go#L139: o.dicts[id] = &dict{id: id, content: content, offsets: [3]int{1, 4, 8}}
dict.go#L20: offsets [3]int
dict.go#L58: return d.offsets
dict.go#L134: d.offsets[0] = int(br.Uint32())
dict.go#L136: d.offsets[1] = int(br.Uint32())
dict.go#L138: d.offsets[2] = int(br.Uint32())
dict.go#L140: if d.offsets[0] <= 0 || d.offsets[1] <= 0 || d.offsets[2] <= 0 {
dict.go#L145: if d.offsets[0] > len(d.content) || d.offsets[1] > len(d.content) || d.offsets[2] > len(d.content) {
dict.go#L146: return nil, fmt.Errorf("initial offset bigger than dictionary content size %d, offsets: %v", len(d.content), d.offsets)
dict.go#L228: offsets: o.Offsets,
enc_base.go#L163: for i, off := range d.offsets {
encoder_options.go#L366: o.dict = &dict{id: id, content: content, offsets: [3]int{1, 4, 8}}
history.go#L66: h.recentOffsets = dict.offsets
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |